package serverDataStorage;

import java.util.ArrayList;

public class ServerDataStorage 
{
	ArrayList<File> files;
	ArrayList<UserAndDropBoxInformation> udbInfo;
	ArrayList<FileAndDropBoxConnection> fdbConnections;
	
	public ServerDataStorage() 
	{
		files = new ArrayList<File>();
		udbInfo = new ArrayList<UserAndDropBoxInformation>();
		fdbConnections = new ArrayList<FileAndDropBoxConnection>();
		System.out.println("the 'ServerDataStorage' will upload the tables from the" +
							" DB and will update the classe's arrays");
	}
	
	public void updateDB()
	{
		System.out.println("update the tables in DB according to the arrays");
	}
	

	public ArrayList<File> getFiles() 
	{
		return files;
	}

	public void setFiles(ArrayList<File> files) 
	{
		this.files = files;
	}

	public ArrayList<UserAndDropBoxInformation> getUdbInfo() 
	{
		return udbInfo;
	}

	public void setUdbInfo(ArrayList<UserAndDropBoxInformation> udbInfo) 
	{
		this.udbInfo = udbInfo;
	}

	public ArrayList<FileAndDropBoxConnection> getFdbConnections() 
	{
		return fdbConnections;
	}

	public void setFdbConnections(ArrayList<FileAndDropBoxConnection> fdbConnections) 
	{
		this.fdbConnections = fdbConnections;
	}

}
